package com.wanmait.happyheating.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "userinfo_login_record")
public class UserinfoLoginRecord implements Serializable {
     @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @TableField(exist = false)
    private Userinfo userinfo;


    /**
     * 用户ID
     */
    @TableField(value = "userinfo_id")
    private Integer userinfoId;

    /**
     * 登录IP
     */
    @TableField(value = "login_ip")
    private String loginIp;

    /**
     * 登录时间
     */
    @TableField(value = "login_time")
    private Timestamp loginTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_USERINFO_ID = "userinfo_id";

    public static final String COL_LOGIN_IP = "login_ip";

    public static final String COL_LOGIN_TIME = "login_time";
}